<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
    <h2>{{message}}</h2>
    <h1>{{name}}</h1>
</div>

<script src="js/vue.js"></script>
<script>
    //let(变量)/const(常量)
    //编程范式：声明式编程
    const app = new Vue({
        el:"#app",//用于管理的元素
        data:{//定义数据
            message:"hello,VueJs",
            name:"hello,董忠凯"
        }
    })
</script>
</body>
</html>